// pages/basic/basic.js
Page({

 data:{
   message:"hello 小程序",
   isShow:true,
   list:[
     { id: 1, "name": "zs", age: 14 },
     { id: 2, "name": "lisi", age: 14 },
     {id:3,"name":"ww",age:14}
   ]
 },
 onShow:function(){
   setTimeout(()=>{
     this.data.list.unshift({id:4, name: "xiaming", age: 99 })
     this.setData({
       list: this.data.list
     })
   },3000)
   
 }
})